package graph;

/**
 *
 * @author Arnaud
 */
public class SchoolYear {
    private String nomEcole;
    private String specialite;
    private int annee;

    public SchoolYear(String nomEcole, String specialite, int annee) {
        this.nomEcole = nomEcole;
        this.specialite = specialite;
        this.annee = annee;
    }

    public int getAnnee() {
        return annee;
    }

    public String getNomEcole() {
        return nomEcole;
    }

    public String getSpecialite() {
        return specialite;
    }

    @Override
    public String toString() {
        return "{" + nomEcole + ", " + specialite + ", " + annee + '}';
    }
}
